/*用户类型*/
    	function formatterQuoFun(value,row,index){
    		return '<button class="btn btn-primary " type="button" onclick="totabss(\''+basePath+'/quotation/quotationInfo.do?id='+row.id+'&demandId='+row.demandId+'\',\'查看报价单(编号'+row.id+')\')"><i class="fa fa-paste"></i> 查看报价单</button>'
    	}
    	
    	
    	//渲染需求状态
    	function renderStatus(value,row,index)
    	{
    		var temp='<label class="label {0}">{1}</label>';
    		
    	    if (value === "chatting" ) {
    	    	return temp.format("label-warning","洽谈中");
    	    }
    	    if (value == "yesdeal" ) {
    	    	return temp.format("label-danger","已成交");
    	    }
    	    if (value == "nodeal"  ) {
    	    	return temp.format("label-default","未成交");
    	    }	
    	    if (value == "offer"  ) {
    	    	return temp.format("label-primary","已报价");
    	    }	
    	    
    	    return temp.format("label-danger",row.toConfrim+'+'+value);
    	}
    	
    	//渲染需求状态
    	function renderActivated(value,row,index)
    	{
    		var temp='<label class="label {0}">{1}</label>';
    		
    	   
    	    if (value == "0" ) {
    	    	return temp.format("label-danger","不合格");
    	    }
    	    if (value == "1"  ) {
    	    	return temp.format("label-primary","合格");
    	    }	
    	    if (value == "2"  ) {
    	    	return temp.format("label-default","待审核");
    	    }	
    	    
    	    return temp.format("label-danger",row.toConfrim+'+'+value);
    	}
    	
    	//渲染需求状态
    	function renderOpinion(value,row,index)
    	{
    		var temp='<label class="label {0}">{1}</label>';
    		
    	   
    	    if (value == "0" ) {
    	    	return temp.format("label-danger","重复提交");
    	    }
    	    if (value == "1"  ) {
    	    	return temp.format("label-primary","审核不通过");
    	    }	
    	    if (value == "2"  ) {
    	    	return temp.format("label-default","撤回");
    	    }	
    	}